<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table>
<thead>
<tr>
<th>模型名称</th>
<th>模型属性</th>
</tr>
</thead>
<tbody>
<tr>
<td><?php echo ($model_data[model_name]); ?></td>
<td>
<?php if(is_array($base_spec)): $i = 0; $__LIST__ = $base_spec;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$row): $mod = ($i % 2 );++$i;?><input type="checkbox" value="<?php echo ($row['id']); ?>" /><?php echo ($row['spec_name']); ?>
<?php if(array_key_exists($row[id],$data)) { echo 'checked="checked"'; } endforeach; endif; else: echo "" ;endif; ?>
</td>
</tr>
</tbody>
</table>
</body>
</html>